/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.FileOutputStream;

/**
 * <p>Project: jse2302 - OutputStreamDemo
 * <p>Powered by webrx On 2023-06-27 09:51:50
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class OutputStreamDemo {
    public static void main(String[] args) {
        //try with resources
        try (var fos = new FileOutputStream("u.txt",true)) {
            //fos.write("hello中国人".getBytes());
            fos.write(97);
        } catch (Exception e) {

        }
    }
}
